package service.Impl;

import dao.Impl.RainManageDaoImpl;
import dao.RainManageDao;
import entiy.RainManage;
import service.RainManageService;

import java.util.List;

public class RainManageServiceImpl implements RainManageService {

    RainManageDao rainManageDao =new RainManageDaoImpl();

    @Override
    public List<RainManage> getList() {
        return rainManageDao.getList();
    }

    @Override
    public int add(RainManage rainManage) {
        return rainManageDao.add(rainManage);
    }

    @Override
    public int del(int id) {
        return rainManageDao.del(id);
    }
}
